package com.store.app.activity;

import android.app.Activity;
import android.os.Bundle;
import android.view.View;
import android.widget.ImageView;
import android.widget.TextView;

import com.store.app.R;

/**
 * 显示 佣金 相关的提示。
 * Created by Liam on 2018/4/26.
 */
public class CommissionTipsActivity extends Activity {

    private ImageView ivReturn;
    private TextView title;

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_commission_tips);
        initView();
        initClicks();
    }

    private void initClicks() {
        title.setText("店佣规则");
        ivReturn.setOnClickListener(new View.OnClickListener() {
            @Override
            public void onClick(View v) {
                finish();
            }
        });
    }

    private void initView() {
        ivReturn = (ImageView) findViewById(R.id.public_ll_return);
        title = (TextView) findViewById(R.id.tvTitle);
    }

}
